import { createBrowserRouter } from 'react-router-dom'

import Home from '@/pages/Home'
import Layout from '@/pages/Layout'
import Situation from '@/pages/Situation'
import Work from '@/pages/Work'
import Manage from '@/pages/Manage'
import Floor from '@/pages/Home/components/Floor'
import Floor2 from '@/pages/Home/components/Floor2'


const router = createBrowserRouter([
  {
    path: '/',
    element: <Layout />,
    children: [
      {
        // path: '/home',
        index: true,
        element: <Home />,
      },
      {
        path: '/floor',
        element: <Floor />
      },
      {
        path: '/floor2',
        element: <Floor2 />
      },
      {
        path: '/situation',
        element: <Situation />
      },
      {
        path: '/work',
        element: <Work />
      },
      {
        path: '/manage',
        element: <Manage />
      },
    ]
  },

])

export default router